package com.changgou.goods.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @Author : 残影
 * @Date: 2020/7/28 16:50
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "tb_brand")
@ApiModel("品牌表")
public class Brand implements Serializable {
    private static final long serialVersionUID = -3606289835684702086L;
    @Id
    @ApiModelProperty("品牌id")
    private Integer id;

    @ApiModelProperty("品牌名称")
    private String name;

    @ApiModelProperty("品牌图片地址")
    private String image;

    @ApiModelProperty("品牌的首字母")
    private String letter;

    @ApiModelProperty("排序")
    private Integer seq;
}